package com.kly.chatter.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.chatter.db.entity.ChatterImRewardDBO;
import com.kly.chatter.db.entity.ChatterImRewardEntity;

import java.math.BigDecimal;
import java.util.List;

/**
* User: linqu
* Date: 2023-10-07
* Time: 12:04:02.323
*/

public interface ChatterImRewardDao  extends BaseMapper<ChatterImRewardEntity> {
    List<ChatterImRewardDBO> listChatterImRewardToday();

    BigDecimal getImTotalReward(String chatterCode, Integer rewardDate);

    ChatterImRewardEntity getLastRecord(String chatterCode, String modelCode, String userCode, Integer rewardDate);
}